import 'package:flutter/material.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:mes_app/color/hex.dart';
import 'package:mes_app/utils/styles.dart';
import 'package:tdesign_flutter/tdesign_flutter.dart';

///
/// 工作台
///
class HomeWorkbenchController extends GetxController {}

class HomeHomeWorkbenchView extends GetView<HomeWorkbenchController> {
  const HomeHomeWorkbenchView({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: TDNavBar(
        backgroundColor: HexColor(HexColor.color6190),
        title: '工作台',
        titleColor: Colors.white,
        titleFont: Font(size: 16, lineHeight: 1, fontWeight: FontWeight.bold),
        centerTitle: true,
        useDefaultBack: false,
        border: TDNavBarItemBorder(width: 0),
      ),
      backgroundColor: HexColor(HexColor.colorF9f9),
      body: SingleChildScrollView(
        child: Column(
          children: [
            Stack(
              children: [
                Container(
                  padding: EdgeInsets.only(
                    top: 15,
                    left: 20,
                    right: 20,
                    bottom: 50,
                  ),
                  decoration: BoxDecoration(
                    color: HexColor(HexColor.color6190),
                  ),
                  child: Row(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    mainAxisAlignment: MainAxisAlignment.start,
                    children: [
                      Expanded(
                        child: Column(
                          children: [
                            Center(
                              child: TDText(
                                '2025-06-09  星期一',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize18,
                                  fontWeight: FontWeight.bold,
                                ),
                              ),
                            ),
                            Container(
                              margin: EdgeInsets.only(top: 15),
                              alignment: Alignment.center,
                              child: TDText(
                                'Hello！小白兔，你好！',
                                font: Font(
                                  size: StylesUtils.defaultFontSize.toInt(),
                                  lineHeight: 1,
                                ),
                                fontWeight: FontWeight.normal,
                                textColor: Colors.white,
                              ),
                            ),
                          ],
                        ),
                      ),
                      TDImage(
                        imgUrl:
                            'https://img1.baidu.com/it/u=3890860386,4169317576&fm=253&fmt=auto&app=138&f=JPEG?w=667&h=500',
                        width: 100,
                        height: 80,
                      ),
                    ],
                  ),
                ),
                Transform.translate(
                  offset: Offset(0, 110),
                  child: Container(
                    height: 230,
                    padding: EdgeInsets.only(top: 30),
                    decoration: BoxDecoration(
                      color: Colors.white,
                      borderRadius: BorderRadius.circular(30),
                    ),
                    child: StaggeredGrid.count(
                      crossAxisCount: 4,
                      crossAxisSpacing: 0,
                      mainAxisSpacing: 20,
                      children: [
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(3, 139, 249, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1136.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '生产订单',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(250, 172, 20, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1131.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '报工质检',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(11, 199, 105, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1107.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '质量管理',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(253, 108, 59, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1104.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '通知公告',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(15, 195, 104, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1128.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '通知',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(252, 107, 57, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1121.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '产品',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                        Column(
                          children: [
                            Center(
                              child: Container(
                                constraints: BoxConstraints.expand(
                                  width: 60,
                                  height: 60,
                                ),
                                decoration: BoxDecoration(
                                  color: HexColor.rgba(250, 172, 20, 0.2),
                                  borderRadius: BorderRadius.circular(20),
                                ),
                                alignment: Alignment.center,
                                child: SvgPicture.network(
                                  'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1136.svg',
                                  width: 29,
                                  height: 32,
                                  fit: BoxFit.fill,
                                ),
                              ),
                            ),
                            Container(
                              alignment: Alignment.center,
                              margin: EdgeInsets.only(top: 5),
                              child: TDText(
                                '物料',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize12,
                                  color: HexColor.color3333,
                                ),
                              ),
                            ),
                          ],
                        ),
                      ],
                    ),
                  ),
                ),
              ],
            ),
            Container(
              margin: EdgeInsets.only(top: 130),
              alignment: Alignment.center,
              child: Container(
                margin: EdgeInsets.symmetric(horizontal: 15),
                height: 160,
                padding: EdgeInsets.symmetric(horizontal: 10),
                decoration: BoxDecoration(
                  color: Colors.white,
                  borderRadius: BorderRadius.circular(6),
                ),
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: [
                    Container(
                      height: 50,
                      padding: EdgeInsets.symmetric(horizontal: 10),
                      alignment: Alignment.centerLeft,
                      child: TDText(
                        '数据看板',
                        style: StylesUtils.customTextStyle(
                          color: HexColor.color3333,
                        ),
                      ),
                    ),
                    Expanded(
                      child: Wrap(
                        crossAxisAlignment: WrapCrossAlignment.start,
                        alignment: WrapAlignment.start,
                        spacing: 25,
                        children: [
                          SizedBox(
                            width: 60,
                            child: Column(
                              children: [
                                Container(
                                  height: 60,
                                  alignment: Alignment.center,
                                  decoration: BoxDecoration(
                                    borderRadius: BorderRadius.circular(20),
                                    color: HexColor.rgba(255, 107, 52, 0.2),
                                  ),
                                  child: SvgPicture.network(
                                    'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1147.svg',
                                    width: 36,
                                    height: 36,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Container(
                                  margin: EdgeInsets.only(top: 10),
                                  alignment: Alignment.center,
                                  child: TDText(
                                    '生产看板',
                                    style: StylesUtils.customTextStyle(
                                      fontSize: StylesUtils.fontSize12,
                                      color: HexColor.color3333,
                                    ),
                                  ),
                                ),
                              ],
                            ),
                          ),
                          SizedBox(
                            width: 60,
                            child: Column(
                              children: [
                                Container(
                                  height: 60,
                                  alignment: Alignment.center,
                                  decoration: BoxDecoration(
                                    borderRadius: BorderRadius.circular(20),
                                    color: HexColor.rgba(2, 141, 248, 0.2),
                                  ),
                                  child: SvgPicture.network(
                                    'https://cdn8.axureshop.com/demo2023/2215319/images/%E5%B7%A5%E4%BD%9C%E5%8F%B0/u1144.svg',
                                    width: 36,
                                    height: 36,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Container(
                                  margin: EdgeInsets.only(top: 10),
                                  alignment: Alignment.center,
                                  child: TDText(
                                    '质量看板',
                                    style: StylesUtils.customTextStyle(
                                      fontSize: StylesUtils.fontSize12,
                                      color: HexColor.color3333,
                                    ),
                                  ),
                                ),
                              ],
                            ),
                          ),
                        ],
                      ),
                    ),
                  ],
                ),
              ),
            ),
            Container(
              alignment: Alignment.center,
              margin: EdgeInsets.only(top: 15, left: 15, right: 15),
              child: Container(
                decoration: BoxDecoration(
                  color: Colors.white,
                  borderRadius: BorderRadius.circular(6),
                ),
                child: Column(
                  children: [
                    Container(
                      height: 50,
                      padding: EdgeInsets.symmetric(horizontal: 15),
                      decoration: BoxDecoration(
                        border: Border(
                          bottom: BorderSide(
                            color: HexColor(HexColor.colorF2f2),
                          ),
                        ),
                      ),
                      child: Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        crossAxisAlignment: CrossAxisAlignment.center,
                        children: [
                          TDText(
                            '报工任务',
                            style: StylesUtils.customTextStyle(
                              color: HexColor.color3333,
                              fontWeight: FontWeight.w700,
                            ),
                          ),
                          Icon(
                            TDIcons.chevron_right,
                            size: StylesUtils.fontSize12,
                            color: HexColor(HexColor.color3333),
                          )
                        ],
                      ),
                    ),
                    Container(
                      padding:
                          EdgeInsets.symmetric(horizontal: 15, vertical: 10),
                      decoration: BoxDecoration(
                        border: Border(
                          bottom: BorderSide(
                            color: HexColor(HexColor.colorF2f2),
                          ),
                        ),
                      ),
                      child: Row(
                        children: [
                          Expanded(
                            child: Column(
                              children: [
                                Container(
                                  alignment: Alignment.centerLeft,
                                  child: TDText.rich(
                                    TextSpan(
                                      children: [
                                        WidgetSpan(
                                            child: Badge(
                                              smallSize: 10,
                                              backgroundColor:
                                                  HexColor(HexColor.colorF59a),
                                            ),
                                            alignment:
                                                PlaceholderAlignment.middle),
                                        TextSpan(
                                          text: ' 新产品工单任务0236',
                                          style: StylesUtils.customTextStyle(
                                            color: HexColor.color3333,
                                          ),
                                        ),
                                      ],
                                    ),
                                  ),
                                ),
                                Container(
                                  alignment: Alignment.centerLeft,
                                  margin: EdgeInsets.symmetric(vertical: 10),
                                  child: TDText(
                                    'WLBH02135  |  50*50*30  |  kg ',
                                    style: StylesUtils.customTextStyle(
                                      color: HexColor.color9999,
                                      fontSize: StylesUtils.fontSize13,
                                    ),
                                  ),
                                ),
                                Align(
                                  alignment: Alignment.centerLeft,
                                  child: TDText(
                                    '2025-06-17 16:15:34',
                                    style: StylesUtils.customTextStyle(
                                      color: HexColor.color9999,
                                      fontSize: StylesUtils.fontSize12,
                                    ),
                                  ),
                                ),
                              ],
                            ),
                          ),
                          TDButton(
                            text: '未开工',
                            size: TDButtonSize.small,
                            type: TDButtonType.outline,
                            shape: TDButtonShape.rectangle,
                            style: TDButtonStyle(
                              backgroundColor: HexColor.rgba(
                                  245, 154, 35, 0.149019607843137),
                              frameColor: HexColor(HexColor.colorF59a),
                              textColor: HexColor(HexColor.colorF59a),
                              frameWidth: 1,
                              radius: BorderRadius.circular(5),
                            ),
                          )
                        ],
                      ),
                    ),
                    Container(
                      padding:
                          EdgeInsets.symmetric(horizontal: 15, vertical: 10),
                      decoration: BoxDecoration(
                        border: Border(
                          bottom: BorderSide(
                            color: HexColor(HexColor.colorF2f2),
                          ),
                        ),
                      ),
                      child: Row(
                        children: [
                          Expanded(
                            child: Column(
                              children: [
                                Container(
                                  alignment: Alignment.centerLeft,
                                  child: TDText.rich(
                                    TextSpan(
                                      children: [
                                        WidgetSpan(
                                            child: Badge(
                                              smallSize: 10,
                                              backgroundColor:
                                                  HexColor(HexColor.color0064),
                                            ),
                                            alignment:
                                                PlaceholderAlignment.middle),
                                        TextSpan(
                                          text: ' 新产品工单任务0236',
                                          style: StylesUtils.customTextStyle(
                                            color: HexColor.color3333,
                                          ),
                                        ),
                                      ],
                                    ),
                                  ),
                                ),
                                Container(
                                  alignment: Alignment.centerLeft,
                                  margin: EdgeInsets.symmetric(vertical: 10),
                                  child: TDText(
                                    'WLBH02135  |  50*50*30  |  kg ',
                                    style: StylesUtils.customTextStyle(
                                      color: HexColor.color9999,
                                      fontSize: StylesUtils.fontSize13,
                                    ),
                                  ),
                                ),
                                Align(
                                  alignment: Alignment.centerLeft,
                                  child: TDText(
                                    '2025-06-17 16:15:34',
                                    style: StylesUtils.customTextStyle(
                                      color: HexColor.color9999,
                                      fontSize: StylesUtils.fontSize12,
                                    ),
                                  ),
                                ),
                              ],
                            ),
                          ),
                          TDButton(
                            text: '进行中',
                            size: TDButtonSize.small,
                            type: TDButtonType.outline,
                            shape: TDButtonShape.rectangle,
                            theme: TDButtonTheme.primary,
                          )
                        ],
                      ),
                    ),
                    Container(
                      padding:
                          EdgeInsets.symmetric(horizontal: 15, vertical: 10),
                      child: Row(
                        children: [
                          Expanded(
                            child: Column(
                              children: [
                                Container(
                                  alignment: Alignment.centerLeft,
                                  child: TDText.rich(
                                    TextSpan(
                                      children: [
                                        WidgetSpan(
                                            child: Badge(
                                              smallSize: 10,
                                              backgroundColor:
                                                  HexColor(HexColor.colorF878),
                                            ),
                                            alignment:
                                                PlaceholderAlignment.middle),
                                        TextSpan(
                                          text: ' 新产品工单任务0236',
                                          style: StylesUtils.customTextStyle(
                                            color: HexColor.color3333,
                                          ),
                                        ),
                                      ],
                                    ),
                                  ),
                                ),
                                Container(
                                  alignment: Alignment.centerLeft,
                                  margin: EdgeInsets.symmetric(vertical: 10),
                                  child: TDText(
                                    'WLBH02135  |  50*50*30  |  kg ',
                                    style: StylesUtils.customTextStyle(
                                      color: HexColor.color9999,
                                      fontSize: StylesUtils.fontSize13,
                                    ),
                                  ),
                                ),
                                Align(
                                  alignment: Alignment.centerLeft,
                                  child: TDText(
                                    '2025-06-17 16:15:34',
                                    style: StylesUtils.customTextStyle(
                                      color: HexColor.color9999,
                                      fontSize: StylesUtils.fontSize12,
                                    ),
                                  ),
                                ),
                              ],
                            ),
                          ),
                          TDButton(
                            text: '延迟',
                            size: TDButtonSize.small,
                            type: TDButtonType.outline,
                            shape: TDButtonShape.rectangle,
                            theme: TDButtonTheme.danger,
                          )
                        ],
                      ),
                    )
                  ],
                ),
              ),
            ),
            Container(
              alignment: Alignment.center,
              margin: EdgeInsets.only(top: 15, left: 15, right: 15, bottom: 20),
              child: Container(
                decoration: BoxDecoration(
                  color: Colors.white,
                  borderRadius: BorderRadius.circular(6),
                ),
                child: Column(
                  children: [
                    Container(
                      height: 50,
                      padding: EdgeInsets.symmetric(horizontal: 15),
                      decoration: BoxDecoration(
                        border: Border(
                          bottom: BorderSide(
                            color: HexColor(HexColor.colorF2f2),
                          ),
                        ),
                      ),
                      child: Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        crossAxisAlignment: CrossAxisAlignment.center,
                        children: [
                          TDText(
                            '报工质检任务',
                            style: StylesUtils.customTextStyle(
                              color: HexColor.color3333,
                              fontWeight: FontWeight.w700,
                            ),
                          ),
                          Icon(
                            TDIcons.chevron_right,
                            size: StylesUtils.fontSize12,
                            color: HexColor(HexColor.color3333),
                          )
                        ],
                      ),
                    ),
                    Container(
                      padding:
                          EdgeInsets.symmetric(horizontal: 15, vertical: 10),
                      child: Column(
                        children: [
                          Align(
                            alignment: Alignment.centerLeft,
                            child: TDText(
                              '报工质检单0236',
                              style: StylesUtils.customTextStyle(
                                color: HexColor.color3333,
                              ),
                            ),
                          ),
                          Container(
                            margin: EdgeInsets.only(top: 15, bottom: 10),
                            alignment: Alignment.centerLeft,
                            child: TDText(
                              '报工人员：赵莉莉_生产班组六',
                              style: StylesUtils.customTextStyle(
                                color: HexColor.color9999,
                                fontSize: StylesUtils.fontSize13,
                              ),
                            ),
                          ),
                          Row(
                            mainAxisAlignment: MainAxisAlignment.spaceBetween,
                            children: [
                              TDText(
                                '报工时间：2025-06-17 16:15:34',
                                style: StylesUtils.customTextStyle(
                                  color: HexColor.color9999,
                                  fontSize: StylesUtils.fontSize13,
                                ),
                              ),
                              TDText(
                                '× 50',
                                style: StylesUtils.customTextStyle(
                                  color: HexColor.color9999,
                                  fontSize: StylesUtils.fontSize13,
                                  fontWeight: FontWeight.w700,
                                ),
                              )
                            ],
                          )
                        ],
                      ),
                    ),
                    Divider(
                      color: HexColor(HexColor.colorF2f2),
                      height: 20,
                      indent: 0,
                      endIndent: 0,
                      thickness: 1,
                    ),
                    Container(
                      padding:
                          EdgeInsets.symmetric(horizontal: 15, vertical: 10),
                      child: Column(
                        children: [
                          Align(
                            alignment: Alignment.centerLeft,
                            child: TDText(
                              '报工质检单0236',
                              style: StylesUtils.customTextStyle(
                                color: HexColor.color3333,
                              ),
                            ),
                          ),
                          Container(
                            margin: EdgeInsets.only(top: 15, bottom: 10),
                            alignment: Alignment.centerLeft,
                            child: TDText(
                              '报工人员：赵莉莉_生产班组六',
                              style: StylesUtils.customTextStyle(
                                color: HexColor.color9999,
                                fontSize: StylesUtils.fontSize13,
                              ),
                            ),
                          ),
                          Row(
                            mainAxisAlignment: MainAxisAlignment.spaceBetween,
                            children: [
                              TDText(
                                '报工时间：2025-06-17 16:15:34',
                                style: StylesUtils.customTextStyle(
                                  color: HexColor.color9999,
                                  fontSize: StylesUtils.fontSize13,
                                ),
                              ),
                              TDText(
                                '× 50',
                                style: StylesUtils.customTextStyle(
                                  color: HexColor.color9999,
                                  fontSize: StylesUtils.fontSize13,
                                  fontWeight: FontWeight.w700,
                                ),
                              )
                            ],
                          )
                        ],
                      ),
                    ),
                    Divider(
                      color: HexColor(HexColor.colorF2f2),
                      height: 20,
                      indent: 0,
                      endIndent: 0,
                      thickness: 1,
                    ),
                    Container(
                      padding:
                          EdgeInsets.symmetric(horizontal: 15, vertical: 10),
                      child: Column(
                        children: [
                          Align(
                            alignment: Alignment.centerLeft,
                            child: TDText(
                              '报工质检单0236',
                              style: StylesUtils.customTextStyle(
                                color: HexColor.color3333,
                              ),
                            ),
                          ),
                          Container(
                            margin: EdgeInsets.only(top: 15, bottom: 10),
                            alignment: Alignment.centerLeft,
                            child: TDText(
                              '报工人员：赵莉莉_生产班组六',
                              style: StylesUtils.customTextStyle(
                                color: HexColor.color9999,
                                fontSize: StylesUtils.fontSize13,
                              ),
                            ),
                          ),
                          Row(
                            mainAxisAlignment: MainAxisAlignment.spaceBetween,
                            children: [
                              TDText(
                                '报工时间：2025-06-17 16:15:34',
                                style: StylesUtils.customTextStyle(
                                  color: HexColor.color9999,
                                  fontSize: StylesUtils.fontSize13,
                                ),
                              ),
                              TDText(
                                '× 50',
                                style: StylesUtils.customTextStyle(
                                  color: HexColor.color9999,
                                  fontSize: StylesUtils.fontSize13,
                                  fontWeight: FontWeight.w700,
                                ),
                              )
                            ],
                          )
                        ],
                      ),
                    ),
                  ],
                ),
              ),
            )
          ],
        ),
      ),
    );
  }
}
